//
//  DataBase.h
//  豆瓣(阿黄)
//
//  Created by dllo on 15/11/3.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ActivityList.h"
#import "MovieDetail.h"
#import "User.h"

@interface DataBase : NSObject

+ (instancetype)shareDataBase;

-(void)openDataBase;

-(void)createTable:(NSString *)createSql;

- (NSMutableArray *)selectActivity;

- (void)insertSql:(NSString *)sql;

-(void)dropTable:(NSString *)dropSql;

- (NSMutableArray *)selectMovieDetail:(NSInteger)key;

- (NSMutableArray *)selectUser:(NSInteger)key;

@end
